import ajax from '@/utils/ajax'

export const query = function(selectedCode = 'ROOT') {
  return ajax.post('/sys/location/query', {
    selectedCode: selectedCode
  },true)
}

export const querySelect = function(ids) {
  return ajax.post('/sys/location/querySelect', {
    selectId: ids
  },true)
}
